<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Office Memo by Free CSS Templates</title>
<link href="http://fonts.googleapis.com/css?family=Arvo" rel="stylesheet" type="text/css" />
<link href="http://fonts.googleapis.com/css?family=Coda:400,800" rel="stylesheet" type="text/css" />
<link href=<?php echo base_url('public/css/bootstrap.min.css')?> rel="stylesheet" type="text/css" media="screen" />
<style type="text/css">

.span9{
  float:none;
  margin-left: auto;
  margin-right: auto;
}

.hero-unit {
   padding: 60px;
   margin-top: 20px;    
   -webkit-border-radius: 6px;
   -moz-border-radius: 6px;
   border-radius: 6px;
   border: 1px solid black; 
   /* background-color: white; */
}


.hero-unit p {
  font-size: 14px;
 }

p{
   margin: 0 0 1px;
}

form label{
    float: left;
    width: 90px;
    padding-right: 5px;
    font-size: 18px;
}

.control-group p span{
  color:red;
  font-weight:bold;
}

input, textarea, select, .uneditable-input {
  height: 30;
}

legend {
  border-bottom: 1px solid #FFF;
}

legend a{
  float : right;
  font-size: small;
}
</style>

</head>

<body>

<?php echo form_open('frontend/reg');?>

<div class="span9">
 <form class="form-horizontal" method="post" action="<?php echo site_url('frontend/reg');?>">
    <fieldset>            
        <div class="hero-unit"> 
            <legend>會員註冊<a href="<?php echo site_url('frontend/login');?>">返迴</a></legend>  
     		<div class="control-group">    		
			   <p><label><span>*</span>帳號 : </label><input type='text' name='login'/></p>
			   <div style="color:red"><?php echo form_error('login');?></div>
			   <p><label><span>*</span>密碼 : </label><input type='password' name='pass'/></p>			   
			   <p><label>再次確認 : </label><input type='password' name='passconf'/></p>			   
			   <div style="color:red"><?php echo form_error('pass');?></div>
			   
			   <p><label>名稱 : </label><input type='text' name='name'/></p>
			   <p><label>性別 : </label><input type='radio' name='sex' value='1' checked />男
			                           <input type='radio' name='sex' value='0'/>女
			   </p>			   
			   <p><label>生日 : </label><input type='text' name='birthday'/></p>
			   <p><label>年齡 : </label><input type='text' name='age'/></p>
			   <p><label>email : </label><input type='text' name='email'/></p>			  
			   <p><label>備註欄 : </label><input type='text' name='memo'/></p>
			   <p><input class="btn btn-primary btn-large" type="submit" value="建立帳戶"/></p>
            </div>
	  </div>       
   </fieldset>		  
</form>
</div> 

</body>
</html>
